package com.niit.activity3_6.domain;


import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Employee {

    @Id
    private String id;
    private String name;
    private String gender;
    private String title;

    public Employee() {
    }

    public Employee(String id, String name, String gender, String title) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.title = title;
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String toString() {
        return "Employee{id = " + id + ", name = " + name + ", gender = " + gender + ", title = " + title + "}";
    }

}
